package com.kuyun.base.model;

/**
 * ztree所需要的json对象
 * 
 * @author 唐靖
 *
 * @date 2015年12月21日下午6:27:31
 *
 */
public class ZtreeBean {

	/**
	 * 自己的id
	 */
	protected String id;

	/**
	 * 父亲的id
	 */
	protected String pid;

	/**
	 * 显示的名称
	 */
	protected String name;

	/**
	 * 是否展开
	 */
	protected String open = "false";

	/**
	 * 是否可点击，默认可以
	 */
	protected String click = "true";

	/**
	 * 是否选中，默认否
	 */
	protected String checked = "false";

	/**
	 * 默认是可以出现单复选框的
	 */
	protected String nocheck = "false";

	/**
	 * 自定义的ztree参数
	 */
	protected String code = "";
	/**
	 * 打开的图标
	 */
	protected String iconOpen;

	/**
	 * 关闭的图标
	 */
	protected String iconClose;

	/**
	 * 子节点的图标
	 */
	protected String icon;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getOpen() {
		return open;
	}

	public void setOpen(String open) {
		this.open = open;
	}

	public String getClick() {
		return click;
	}

	public void setClick(String click) {
		this.click = click;
	}

	public String getChecked() {
		return checked;
	}

	public void setChecked(String checked) {
		this.checked = checked;
	}

	public String getNocheck() {
		return nocheck;
	}

	public void setNocheck(String nocheck) {
		this.nocheck = nocheck;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getIconOpen() {
		return iconOpen;
	}

	public void setIconOpen(String iconOpen) {
		this.iconOpen = iconOpen;
	}

	public String getIconClose() {
		return iconClose;
	}

	public void setIconClose(String iconClose) {
		this.iconClose = iconClose;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

}
